package com.hudson.common.domain.response;

import java.util.Objects;

/**
 * @Author: 渔小鲤
 * @DateTime: 2025/7/7 0:01
 **/
public class DefaultSendMessageResp {

    private String messageId;

    private String msgId;

    private String sendType;

    public DefaultSendMessageResp(String messageId, String sendType) {
        this.messageId = messageId;
        this.sendType = sendType;
    }

    public DefaultSendMessageResp(String messageId, String msgId, String sendType) {
        this.messageId = messageId;
        this.msgId = msgId;
        this.sendType = sendType;
    }

    public String getMessageId() {
        return messageId;
    }

    public void setMessageId(String messageId) {
        this.messageId = messageId;
    }

    public String getSendType() {
        return sendType;
    }

    public void setSendType(String sendType) {
        this.sendType = sendType;
    }

    public String getMsgId() {
        return msgId;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }

    @Override
    public boolean equals(Object o) {
        if (o == null || getClass() != o.getClass()) return false;
        DefaultSendMessageResp that = (DefaultSendMessageResp) o;
        return Objects.equals(messageId, that.messageId) && Objects.equals(msgId, that.msgId) && Objects.equals(sendType, that.sendType);
    }

    @Override
    public int hashCode() {
        return Objects.hash(messageId, msgId, sendType);
    }

    @Override
    public String toString() {
        return "DefaultSendMessageResp{" +
                "messageId='" + messageId + '\'' +
                ", msgId='" + msgId + '\'' +
                ", sendType='" + sendType + '\'' +
                '}';
    }
}
